Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add agat convertspgff2gtf #76

Merged
merged 26 commits into from
Jul 17, 2024

Conversation

Leila011
Copy link
Contributor

@Leila011 Leila011 commented Jul 5, 2024

Description

Issue ticket number

Closes #xxxx

Checklist before requesting a review

  • I have performed a self-review of my code

  • Conforms to the Contributing guidelines

  • Proposed changes are described in the CHANGELOG.md

  • I have tested my code with viash ns test --parallel -q <name or namespace>

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Documentation
    • Bug fixes

Copy link
Contributor

@rcannood rcannood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Leila011 ! Thanks for creating this PR! I have some minor questions and suggestions ☺️

src/agat/agat_convertspgff2gtf/config.vsh.yaml Outdated Show resolved Hide resolved
src/agat/agat_convertspgff2gtf/config.vsh.yaml Outdated Show resolved Hide resolved
src/agat/agat_convertspgff2gtf/config.vsh.yaml Outdated Show resolved Hide resolved
src/agat/agat_convertspgff2gtf/test.sh Outdated Show resolved Hide resolved

echo ">> Check if output is empty"
[ ! -s "output.gtf" ] && echo "Output file output.gtf is empty" && exit 1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also check the output's contents based on the input gff you provided?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a test that extract the ID value from the first line of the GFF and then assess if the converted GTF first line contains the expected gene_id and ID. Let me know if this is not sufficient

@Leila011 Leila011 marked this pull request as ready for review July 9, 2024 09:03
@Leila011 Leila011 requested a review from rcannood July 9, 2024 09:03
Copy link
Contributor

@rcannood rcannood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor changes requested ☺️

src/agat/agat_convert_sp_gff2gtf/config.vsh.yaml Outdated Show resolved Hide resolved
src/agat/agat_convert_sp_gff2gtf/test.sh Show resolved Hide resolved
Copy link
Contributor

@rcannood rcannood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @Leila011 !

@rcannood rcannood merged commit 13c5439 into viash-hub:main Jul 17, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants